export function wgslPlugin() {
  return {
    name: 'wgsl-plugin',
    transform(src, id) {
      if (id.endsWith('.wgsl')) {
        return {
          code: `export default \`${src}\`;`,
          map: { mappings: '' },
        };
      }
    },
  };
}